
import UIKit

class RoomInfo : Decodable {
    var id: Int?
    var userId: Int?
    var selfUserId: Int? //自己的userid
    var name: String?
    var firstMsg: String?
    var roomType: Int?
    var roomCover: String?
    var createTime: String?
    var endTime: String?
    var accumulatePeople: Int?
    var receiveTokens: Int?
    var autoShangMai: Int?
    var hideRoom: Int?
    var coverUserId: Int?
    var onlineCount: Int?
    var deleteFlag: Int?
    var musicPropId: Int?
    var musicJumpTokens: Int?
    var minutes: Int?
    var changed: Int?
    var userRoomVO: LSUserroomvoModel?
    var roomMais: Array<LSRoommaisModel>?
    var addHostUserFans: Int?
    var tokens: Int?
    var toppingMaiIndex: Int?
    var autoClose: Int?
    var autoCloseInterval: Int?
    
    
} 
class LSUserroomvoModel : Decodable{
    var userId: Int?
    var userCode: String?
    var avatar: String?
    var nick: String?
    var sex: Int?
    var age: Int?
    var avatarFrameUrl: String?
    var vipGrade: Int?
    var userLabels: Array<LSUserlabelsModel>?
    var prohibition: Int?
    var beautifulCodeUrl: String?
    var chatFrameUrl: String?
} 
